# vim: syntax=cmake

# hal h264 decoder api
set(HAL_H264D_API
    ../../inc/hal_h264d_api.h
	../../inc/hal_regdrv.h
    )

    
# hal h264 header   
set(HAL_H264D_HDR
	hal_h264d_global.h	
	hal_h264d_fifo.h
	hal_h264d_rkv_reg.h
	hal_h264d_rkv_pkt.h
	hal_h264d_vdpu_reg.h
	hal_h264d_vdpu_pkt.h
    ) 
    
# hal h264 decoder sourse
set(HAL_H264D_SRC
    hal_h264d_api.c	
    hal_h264d_fifo.c
	hal_h264d_rkv_reg.c
	hal_h264d_rkv_pkt.c
	hal_h264d_vdpu_reg.c
	hal_h264d_vdpu_pkt.c
    ) 
    
add_library(hal_h264d STATIC
            ${HAL_H264D_API}
            ${HAL_H264D_HDR} 
            ${HAL_H264D_SRC} 
            )

target_link_libraries(hal_h264d mpp_base mpp_hal)                
set_target_properties(hal_h264d PROPERTIES FOLDER "mpp/hal")        

